home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
clue.lha
/
clue
/
doc
/
clue.tex
/
node155_mn.html
< prev
next >
Wrap
Text File
|
1989-07-12
|
2KB
|
65 lines
<H3><A ID="SECTION004411100000000000000"><tex2html_anchor_invisible_mark></A> <A ID="ch:new-event-specifications"><tex2html_anchor_mark></A><BR>
Defining New Event Specifications
</H3><#5124#>
<P>
The syntax for event specifications can be extended to include new
specification list forms defined by the programmer.
<A ID="1954"><tex2html_anchor_invisible_mark></A>
The most general
form of an event specification list is <#4353#><TT>(<#1955#><EM>keyword-symbol
argument*</EM><#1955#>)</TT><#4353#>. The CLUE interface to this general form is defined by two
functions: a check function, which verifies the syntactical
correctness of the list, and a match function, which matches <#1956#><TT>event</TT><#1956#>
objects with the list. The check function for a <#1957#><EM>keyword-symbol</EM><#1957#>
may be returned or changed by the <#1958#><TT>check-function</TT><#1958#> macro.
<P>
<#4675#>
<#4354#><FONT SIZE="+1"><#1959#><B>check-function Macro</B><#1959#></FONT><#4354#>
<A ID="1960"><tex2html_anchor_invisible_mark></A>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10089#
</DIV><#4675#>
<P>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10091#
</DIV>
<P>
<#4676#>
The general interfaces
required for check/match functions are described below.
<P>
<A ID="1973"><tex2html_anchor_invisible_mark></A>
<A ID="1974"><tex2html_anchor_invisible_mark></A>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10092#
</DIV><#4676#>
<P>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10095#
</DIV>
<P>
<A ID="1994"><tex2html_anchor_invisible_mark></A>
<A ID="1995"><tex2html_anchor_invisible_mark></A>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10096#
</DIV>
<P>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10097#
</DIV>
<P>
=0 <#5134#>=0 <#5138#>